/************************************************************************

								Heroes IV
					  Copyright 2001, The 3DO Company

	------------------------------------------------------------------
  						        library.h

	$Header: /game/library.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef LIBRARY_H_INCLUDED
#define LIBRARY_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "single_use_object.h"
#include "war_institute.h"

// -------------------------------------------------------------
// Hero can upgrade a magic skill from visiting the library
// -------------------------------------------------------------
class t_library : public t_war_institute
{
public:
	t_library( std::string const& source );

	virtual float ai_value( t_adventure_ai const& ai, t_creature_array const& army, int move_cost ) const;
	virtual float ai_value_to_hero( t_hero const* hero, t_creature_array const* array ) const;
};

#endif // LIBRARY_H_INCLUDED

